{% load CustomFuncTags %}
{% if Layout_Sizer|GetDictValue:'Part' == 'Content' %}
    <div class="Topstory-mainColumn ContentColumn">
        <div class="Card AnswerCard" id='ArticleBody' articleid='{{Card.0.ID}}'>
        {% include "Main-Topic&RollCall-Content-Frame.html" %}
        </div>
    </div>
{% else %}
    <div class="Topstory-mainColumn">
        {% include "Main-Topic&RollCall-List-Frame.html" %}
    </div>
    <div class="GlobalSideBar SideBarMargin SideBarPosition">
        <div class="Sticky">
            {% if not request.user.is_authenticated %}
            <div class="Card">
                <div class="GlobalSideBarLabel">
                    <div>
                        <b>用户功能</b> 
                    </div>
                </div>
                {% include "List-UserFuncButton-Block.html" %}
            </div>
            {% endif %}            
            <div class="Card">
                <div class="GlobalSideBarLabel">
                    <div>
                        <b>功能</b> 
                    </div>
                </div>
                {% include "List-FuncButton-Block.html" %}
            </div>
            {% if Layout_Sizer|GetDictValue:'Region' == 'Topic' %}
            <div class="Card">
                <div class="GlobalSideBarLabel">
                    <b>热门</b>
                </div>
                {% include "List-Category-Block.html" %}                  
            </div>
            {% elif Layout_Sizer|GetDictValue:'Region' == 'SpecialTopic' %}
            <div class="Card">
                <div class="GlobalSideBarLabel">
                    <b>热门</b>
                </div>
                {% include "List-Category-Block.html" %}                  
            </div>
            {% endif %}
            <div class="Card">
                <div class="GlobalSideBarLabel">
                    <b>推荐</b>
                </div>
                {% include "List-Publisher-Block.html" %}          
            </div>
            <footer class="footer">
                <button onclick="javascript:window.location.href='https://weibo.com/901101819/home?wvr=5'" class="Footer-item">徐子迈</button>
                <span class="Footer-dot"></span>
                <button onclick="javascript:window.location.href='http://www.miit.gov.cn/'" class="Footer-item">渝ICP备19008392号-1</button>
            </footer>
        </div>
    </div>
{% endif %}